package com.edu.service.impl;

import com.edu.mapper.TUserDao;
import com.edu.pojo.TUser;
import com.edu.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @作者 five-five
 * @创建时间 2021/1/25
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private TUserDao userDao;

    @Override
    public List<TUser> getAll() {
        return userDao.selectByExample(null);
    }
}
